<template>
  <div>
    <span>Setting</span>
    <el-divider/>
    <el-button @click="toDashboard">toDashboard</el-button>
  </div>
</template>

<script>

export default {
  name: "Setting",
  methods: {
    toDashboard() {
      this.$router.push('dashboard');
    }
  },
  beforeDestroy() {
    console.info('Setting beforeDestroy');
  }
};
</script>

<style scoped></style>
